<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>family</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr><td rowspan="1" colspan="3">family</td></tr>
</thead><tbody>
<tr>
	<td>open</td>
	<td>/inTouch/loginDisplay.do</td>
	<td></td>
</tr>
<tr>
	<td>type</td>
	<td>userName</td>
	<td>chris</td>
</tr>
<tr>
	<td>type</td>
	<td>password</td>
	<td>password</td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>login</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>link=Families</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>//input[@value='Add Family']</td>
	<td></td>
</tr>
<tr>
	<td>addSelection</td>
	<td>availableMembers</td>
	<td>label=Rimaati, Joanne</td>
</tr>
<tr>
	<td>type</td>
	<td>description</td>
	<td>Testing123</td>
</tr>
<tr>
	<td>addSelection</td>
	<td>availableMembers</td>
	<td>label=Rosser, Paul</td>
</tr>
<tr>
	<td>click</td>
	<td>//input[@value='ADD']</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>//input[@value='Save']</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>//input[@value='Add Family']</td>
	<td></td>
</tr>
<tr>
	<td>type</td>
	<td>description</td>
	<td>Testing456</td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>//input[@value='Save']</td>
	<td></td>
</tr>
<tr>
	<td>type</td>
	<td>name</td>
	<td>Testing</td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>//input[@value='Find']</td>
	<td></td>
</tr>
<tr>
	<td>assertTextPresent</td>
	<td>Testing456</td>
	<td></td>
</tr>
<tr>
	<td>assertTextPresent</td>
	<td>Testing123</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>//a[contains(@href, 'viewFamilyDisplay.do?id=52')]</td>
	<td></td>
</tr>
<tr>
	<td>assertTextPresent</td>
	<td>Rimaati, Joanne</td>
	<td></td>
</tr>
<tr>
	<td>assertTextPresent</td>
	<td>Rosser, Paul</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>//input[@value='Edit']</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>availableMembers</td>
	<td></td>
</tr>
<tr>
	<td>addSelection</td>
	<td>availableMembers</td>
	<td>label=Hiatt, Cait</td>
</tr>
<tr>
	<td>click</td>
	<td>//input[@value='ADD']</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>//input[@value='Save']</td>
	<td></td>
</tr>
<tr>
	<td>type</td>
	<td>name</td>
	<td>Testing123</td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>//input[@value='Find']</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>link=View</td>
	<td></td>
</tr>
<tr>
	<td>assertTextPresent</td>
	<td>Hiatt, Cait</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>link=People</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>//input[@value='Add Person']</td>
	<td></td>
</tr>
<tr>
	<td>select</td>
	<td>titleCode</td>
	<td>label=Mr</td>
</tr>
<tr>
	<td>type</td>
	<td>firstName</td>
	<td>John</td>
</tr>
<tr>
	<td>type</td>
	<td>surname</td>
	<td>Smith</td>
</tr>
<tr>
	<td>select</td>
	<td>familyId</td>
	<td>label=Testing456</td>
</tr>
<tr>
	<td>select</td>
	<td>personTypeCode</td>
	<td>label=Partner</td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>//input[@value='Save']</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>link=Families</td>
	<td></td>
</tr>
<tr>
	<td>type</td>
	<td>name</td>
	<td>Testing</td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>//input[@value='Find']</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>//a[contains(@href, 'viewFamilyDisplay.do?id=53')]</td>
	<td></td>
</tr>
<tr>
	<td>assertTextPresent</td>
	<td>Smith, John</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>//input[@value='Edit']</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>//input[@value='Add New Person']</td>
	<td></td>
</tr>
<tr>
	<td>assertSelectedLabel</td>
	<td>familyId</td>
	<td>Testing456</td>
</tr>
<tr>
	<td>type</td>
	<td>firstName</td>
	<td>Gerry</td>
</tr>
<tr>
	<td>type</td>
	<td>surname</td>
	<td>Simons</td>
</tr>
<tr>
	<td>select</td>
	<td>personTypeCode</td>
	<td>label=Partner</td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>//input[@value='Save']</td>
	<td></td>
</tr>
<tr>
	<td>addSelection</td>
	<td>assignedMembers</td>
	<td>label=Simons, Gerry</td>
</tr>
<tr>
	<td>assertTextPresent</td>
	<td>Simons, Gerry</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>//input[@value='Save']</td>
	<td></td>
</tr>
<tr>
	<td>type</td>
	<td>name</td>
	<td>Testing</td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>//input[@value='Find']</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>//a[contains(@href, 'viewFamilyDisplay.do?id=53')]</td>
	<td></td>
</tr>
<tr>
	<td>assertTextPresent</td>
	<td>Simons, Gerry</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>//input[@value='Edit']</td>
	<td></td>
</tr>
<tr>
	<td>addSelection</td>
	<td>assignedMembers</td>
	<td>label=Simons, Gerry</td>
</tr>
<tr>
	<td>click</td>
	<td>//input[@value='REMOVE']</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>//input[@value='Save']</td>
	<td></td>
</tr>
<tr>
	<td>type</td>
	<td>name</td>
	<td>Testing</td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>//input[@value='Find']</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>//a[contains(@href, 'viewFamilyDisplay.do?id=53')]</td>
	<td></td>
</tr>
<tr>
	<td>assertTextNotPresent</td>
	<td>Simons, Gerry</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>//input[@value='Delete']</td>
	<td></td>
</tr>
<tr>
	<td>assertConfirmation</td>
	<td>Are you sure you want to delete this Family?</td>
	<td></td>
</tr>
<tr>
	<td>type</td>
	<td>name</td>
	<td>Testing</td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>//input[@value='Find']</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>link=Logout</td>
	<td></td>
</tr>

</tbody></table>
</body>
</html>
